package cn.kgc.bdqn_studentinfomanager.dao.comm;

import cn.kgc.bdqn_studentinfomanager.pojo.vo.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * by Shanshui CC on 2020/12/12 9:35
 */
@Mapper
public interface CommMapper {

    /**
     * 进入添加专员页面时加载地区下拉框
     * @param id
     * @return
     */
    public List<ProvinceAndCityVo> getProvinceById(String id);

    /**
     * 渠道主管添加渠道专员
     * @param addUserVo
     * @return
     */
    public Integer addCommissioner(AddUserVo addUserVo);

    public List<ShowRoleVo> queryCon();

    /**
     * 分配学生前判断该学生是否被分配
     * @param studentIdList
     * @return
     */
    public Integer selectStudentStatus(List<String> studentIdList);
    /**
     * 分配咨询师
     * @param studentIdList
     * @param conId
     * @return
     */
    public Integer updateStudentStatus(List<String> studentIdList, String conId);


}